package com.zzzy.sys.vo.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Set;

@Schema(description = "用户信息返回体")
@Data
public class UserInfoRes {

    @Schema(description = "用户ID")
    private Long id;

    @Schema(description = "登录名")
    private String username;

    @Schema(description = "真实姓名")
    private String nickName;

    @Schema(description = "手机号码")
    private String phoneNumber;

    @Schema(description = "用户邮箱")
    private String email;

    @Schema(description = "性别")
    private String sex;

    @Schema(description = "状态：新建、启用、暂停、离职")
    private String status;

    @Schema(description = "部门名称")
    private String deptName;

    @Schema(description = "权限集合")
    private Set<String> permissions;
}